package com.lanou3g.bean;


public class Admin {
	private Integer id;
	private String username;
	private String password;
	private String nickname;
	private Integer roleId;
	private String roleName;
	private String sex;
	private String phone;
	private String email;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Admin() {
		
	}
	public Admin(Integer id, String username, String password, String nickname, Integer roleId, String roleName,
			String sex, String phone, String email) {
		super();
		this.id = id;
		this.username = username;
		this.password = password;
		this.nickname = nickname;
		this.roleId = roleId;
		this.roleName = roleName;
		this.sex = sex;
		this.phone = phone;
		this.email = email;
	}
	@Override
	public String toString() {
		return "Admin [id=" + id + ", username=" + username + ", password=" + password + ", nickname=" + nickname
				+ ", roleId=" + roleId + ", roleName=" + roleName + ", sex=" + sex + ", phone=" + phone + ", email="
				+ email + "]";
	}
	
	
}
